package com.xq.tmall.dao;

import com.xq.tmall.entity.Product;
import com.xq.tmall.util.PageUtil;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName LookRecordDao
 * @Description TODO
 * @date 2022/1/25 16:16
 * @Version 1.0
 */

@Component
public interface LookRecordDao {

    public List<Product> getLookRecrod( @Param("userId") Integer userId,  @Param("pageUtil") PageUtil pageUtil );

    void addLookRecord(@Param("userId")Integer userId,@Param("productId") Integer productId);
}
